import { HandlerBase } from "src/wl/handler_base";
import { AccManageConst } from "src/consts/acc_manage_const";
import { PopupName } from "src/consts/popup_const";

export default class OperatorData extends HandlerBase {
    doNew(): void {
        WLCommit(AccManageConst.CommitType, "add")
        WLLib.panel(PopupName.Acc_Add_Panel);
    }

    doQiYong(data: any): void {
        WLDispatch(AccManageConst.DispatchQiYong, data);
    }

    doReset(data: any): void {
        WLDispatch(AccManageConst.DispatchReset, data);
    }
}